//
//  DownloadManager.h
//  AssetDownloader
//
//  Created by Mathieu on 4/10/06.
//  Copyright 2006 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <WebKit/Webkit.h>

@interface DownloadManager : NSObject {
	//Downloader
	IBOutlet WebView *downloaderWebView;
	IBOutlet NSView *dropper;
	IBOutlet NSProgressIndicator *downloadProgressIndicator;
	IBOutlet NSTextField *downloaderProgressMessage;
	
	NSURLResponse *downloadResponse;
	long long bytesReceived;
	long long toalToDownload;
	NSMutableDictionary *downloadLocations;
}

-(void)downloadContentsOfURL:(NSURL *)url toLocation:(NSString *)location;
- (BOOL)download:(NSURLDownload *)download
     shouldDecodeSourceDataOfMIMEType:(NSString *)encodingType;
-(void)installDictAtLocation:(NSString *)location;

@end
